API Documentation
FunctionSet.h
1 // FunctionSet.h
3 //
5 
6 namespace nkDebug
7 {
13  class FunctionSet final
14  {
15  public :
16 
17  // Constructor, destructor
26 
27  // Pool management
35  const std::function<bool ()>& registerFunction (const char* name, const std::function<bool ()>& func) ;
42  nkLog::StringView getFunctionName (unsigned int index) const ;
49  const std::function<bool ()>& getFunction (unsigned int index) const ;
53  unsigned int getSetSize () const ;
54  } ;
55 }
nkLog::StringView
Allows to exchange strings with external code.
Definition: StringView.h:18
nkDebug::FunctionSet::~FunctionSet
~FunctionSet()
nkDebug::FunctionSet
A function set holding testing functions.
Definition: FunctionSet.h:14
nkDebug::FunctionSet::FunctionSet
FunctionSet()
nkDebug::FunctionSet::getSetSize
unsigned int getSetSize() const
nkDebug::FunctionSet::getFunction
const std::function< bool()> & getFunction(unsigned int index) const
nkDebug::FunctionSet::getFunctionName
nkLog::StringView getFunctionName(unsigned int index) const
nkDebug
Encompasses all API of component NilkinsDebug.
Definition: LogManager.h:7
nkDebug::FunctionSet::registerFunction
const std::function< bool()> & registerFunction(const char *name, const std::function< bool()> &func)